import request from '@/utils/request'

// 查询考试参与学校列表
export const schoollist = (query) => {
    return request({
        url: '/system/exam/school/page',
        method: 'get',
        params: query
    })
}

// 新增考试参与学校
export const schoolAdd = (query) => {
    return request({
        url: '/system/exam/school',
        method: 'post',
        data: query
    })
}

// // 修改考试参与学校
export const schoolEdit = (query) => {
    return request({
        url: '/system/exam/school',
        method: 'put',
        data: query
    })
}

// // 考试学校上报开关
export const schoolreport = (query) => {
    return request({
        url: '/system/exam/school/report',
        method: 'put',
        data: query
    })
}


// 删除考试参与学校
export const schoolDel = (query) => {
    return request({
        url: '/system/exam/school/' + query,
        method: 'delete'
    })
}